package com.yixing.tech.common.autoline.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/** 堆垛机WCS上报故障信息的请求参数 */
public class TaskErrorReq implements Serializable {

    @JsonProperty("INSTRUCTION_CODE")
    private String INSTRUCTION_CODE;    // 任务编号
    @JsonProperty("SALVER_ID")
    private String SALVER_ID;           // 托盘号
    @JsonProperty("ERROR_CODE")
    private String ERROR_CODE;          // 错误代码
    // DoubleIn:双重入库  FetchNothing: 取货无箱  DoubleIn2: 放深浅有  FetchNothing2: 取深浅有

    public TaskErrorReq() {
    }

    public TaskErrorReq(String INSTRUCTION_CODE, String SALVER_ID, String ERROR_CODE) {
        this.INSTRUCTION_CODE = INSTRUCTION_CODE;
        this.SALVER_ID = SALVER_ID;
        this.ERROR_CODE = ERROR_CODE;
    }

    public String getINSTRUCTION_CODE() {
        return INSTRUCTION_CODE;
    }

    public void setINSTRUCTION_CODE(String INSTRUCTION_CODE) {
        this.INSTRUCTION_CODE = INSTRUCTION_CODE;
    }

    public String getSALVER_ID() {
        return SALVER_ID;
    }

    public void setSALVER_ID(String SALVER_ID) {
        this.SALVER_ID = SALVER_ID;
    }

    public String getERROR_CODE() {
        return ERROR_CODE;
    }

    public void setERROR_CODE(String ERROR_CODE) {
        this.ERROR_CODE = ERROR_CODE;
    }

    @Override
    public String toString() {
        return "TaskErrorReq{" +
                "INSTRUCTION_CODE='" + INSTRUCTION_CODE + '\'' +
                ", SALVER_ID='" + SALVER_ID + '\'' +
                ", ERROR_CODE='" + ERROR_CODE + '\'' +
                '}';
    }
}
